﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;

namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssCommon
{
    [ServiceContract]
    public interface IDEPARTMENT
    {
        [OperationContract]
        IEnumerable<CM_DEPARTMENT> GetByAllDEPARTMENT();

        [OperationContract]
        String InsertDEPARTMENT(CM_DEPARTMENT data);

        [OperationContract]
        String UpdateDEPARTMENT(CM_DEPARTMENT data);

        [OperationContract]
        String DeleteDEPARTMENT(string id);

        [OperationContract]
        IEnumerable<CM_DEPARTMENT> GetByTopDEPARTMENT(string _top, string _where, string _order);

        [OperationContract]
        String ApproveDEPARTMENT(CM_DEPARTMENT data);
    }
}